# Copyright (C) 2024 Advanced Micro Devices, Inc.  All rights reserved.
# SPDX-License-Identifier: MIT
if(NOT "${CMAKE_SUBMACHINE}" STREQUAL "VersalGen2")
	collect (PROJECT_LIB_HEADERS xsecure_sha.h)
	collect (PROJECT_LIB_SOURCES xsecure_sha.c)
endif()
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "plm_microblaze")
	if(NOT "${CMAKE_SUBMACHINE}" STREQUAL "VersalGen2")
	collect (PROJECT_LIB_HEADERS xsecure_sha_ipihandler.h)
	collect (PROJECT_LIB_SOURCES xsecure_sha_ipihandler.c)
	endif()
endif()
